<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<jsp:include page="head.jsp"></jsp:include>
<body>

	<div>
		<header class="header-article-list">
			<div class="article-position">新闻资讯</div>
			<ul>

				<c:forEach items="${newsTypeList }" var="type">
					<li><a
						href="newsServlet?method=getnewstype&typeid=${type.id }">${type.name }</a></li>

				</c:forEach>

			</ul>
			<div class="article-more-btn">
				<a href="article_list_more.html">MORE &#62; &#62;</a>
			</div>
		</header>

		<section class="article-content">
			<ul>
				<c:forEach items="${newsList }" var="news">
					<li>
						<div class="article-date">
							<p>${news.time }</p>
						</div>
						<div class="article-info">
							<a href="article_list_content.jsp">


								<h3>${news.title }</h3>
								<p>${news.context }</p>
							</a>
						</div>
					</li>
				</c:forEach>
			</ul>
		</section>
	</div>
	﻿
	<!-- 引入头部 -->
	<jsp:include page="foot.jsp"></jsp:include>
</body>
</html>